﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Common_imageDemo : System.Web.UI.Page
{
    //public string DocumentPath = ConfigurationSettings.AppSettings["ProfilePic"];
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnUpload_Click(object sender, EventArgs e)
    {
        if (FileUpload1.PostedFile != null)
        {
            //string FileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
            //Save files to images folder
           // FileUpload1.SaveAs(Server.MapPath("Images/" + FileName));
            //this.imgDemo.ImageUrl = "Images/" + FileName;
        }
    }
}